package com.tensqure.spit.dao;

import com.tensqure.spit.pojo.Spit;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by 队长 on 2018/12/7.
 */
public interface SpitDao extends MongoRepository<Spit,String> {

    public Page<Spit> findByParentId(String parentid, Pageable pageable);

}
